package com.zhny.aiot.hb.water.level.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;

public class WaterStoreEntry extends StoreEntity {

    @PropertyValue(alias = "液位",description = "液位值",unit = "m",icon=IconConstract.WaterLevel,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double waterless;

    public double getWaterless() {
        return waterless;
    }

    public void setWaterless(double waterless) {
        this.waterless=waterless;
    }


    @Override
    public String toString() {
        return String.format("water less value %.2f",waterless);
    }
}
